#!/bin/sh
ip=`ip addr|grep 172.|awk '{print $2}'|awk -F / '{print $1}'`
context="host="$ip
echo -e $context > /var/www/swoft/.env